<?php
class Place_Model_AdminGlobalUser extends Zend_Db_Table{
    protected $_name  = "admin_global_user";
    protected $_primary = "global_user_id";
    
    public function getUserById($userId){
        $normalUtils = new My_Utils_NormalUtils();
        $DB = $normalUtils->getNormalDb(0);
        
        $select = $DB   ->select()
                        ->from('admin_global_user')
                        ->where('global_user_id = ?',$userId);
        $result = $DB->fetchAll($select);
        return $result;
    }
    
}
